package lumis.portal.progress;

import java.sql.Timestamp;
import java.util.Collection;

import lumis.portal.PortalException;
import lumis.portal.manager.ManagerException;

/**
 * Manager Interface for Progress operations
 *
 * @version $Revision: 6239 $ $Date: 2007-03-26 15:50:32 -0300 (Mon, 26 Mar 2007) $
 * @since 4.0.7
 */
public interface IProgressManager
{
	public void addOrUpdate(ProgressConfig progressConfig) throws ManagerException, PortalException;

	public Collection<ProgressConfig> getByProcessId(String processId, Timestamp startDateTime) throws ManagerException, PortalException;

	public void deleteByProcessId(String processId) throws ManagerException, PortalException;

	public void deleteExpired(Timestamp expirationDateTime) throws ManagerException, PortalException;

	public boolean getAbortedByProcessId(String processId) throws ManagerException, PortalException;
}
